package com.ruibang.glass.sale.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruibang.glass.sale.domain.req.GSaleOrderReq;
import com.ruibang.glass.sale.entity.GSaleMultiDeliveryOrder;
import com.ruibang.glass.sale.mapper.GSaleMultiDeliverOrderMapper;
import com.ruibang.glass.sale.service.GSaleMultiDeliverOrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


@Slf4j
@Service
public class GSaleMultiDeliverOrderServiceImpl extends ServiceImpl<GSaleMultiDeliverOrderMapper, GSaleMultiDeliveryOrder> implements GSaleMultiDeliverOrderService {


    @Override
    public IPage<GSaleMultiDeliveryOrder> getPage(GSaleOrderReq gSaleOrderReq) {
        return baseMapper.getPage(new Page<GSaleMultiDeliveryOrder>(gSaleOrderReq.getPageNo(),gSaleOrderReq.getPageSize()),gSaleOrderReq);
    }

}
